package com.kawa.kemanage.service;

import com.github.pagehelper.PageInfo;
import com.kawa.kemanage.entity.dto.ReadMessageDTO;
import com.kawa.kemanage.entity.SystemMessage;
import com.kawa.kemanage.entity.vo.UnreadCountVO;
import com.kawa.kemanage.exception.BadSqlException;

/**
 * @Author: KAIyo
 * @Date: 2025/6/20 10:10
 * @Version: v1.0.0
 * @Description: TODO
 **/
public interface SystemMessageService {

    UnreadCountVO getUnreadCount(Integer userId) throws BadSqlException;

    PageInfo<SystemMessage> getSystemMessages(Integer userId, String type, Integer pageNum, Integer pageSize) throws BadSqlException;

    void readSystemMessage(ReadMessageDTO readMessageDTO) throws BadSqlException;
}
